package lab02.text29;

/**
 * Created by HASEE on 2017/11/2.
 */
public class Text {
    public static void main(String[] args) {
        int[] numbers=new int[5];
        numbers[0]=10;
        numbers[1]=15;
        numbers[2]=17;
        numbers[3]=14;
        numbers[4]=13;
        try {
            System.out.println(numbers[5]);
        }catch (ArrayIndexOutOfBoundsException e){
            System.out.println("数组越界!");
        }
        finally {
            System.out.println("无论怎样都会执行的代码");
        }

    }
}
